package com.mazihao.emos.controller.form;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.hibernate.validator.constraints.Range;
import reactor.util.annotation.NonNull;

@Data
@ApiModel
public class SearchMonthCheckinForm {

    @NonNull
    @Range(min = 1970, max = 3000)
    private Integer year;

    @NonNull
    @Range(min = 1, max = 12)
    private Integer month;
}


